<h1>Categories</h1>
<a href="<?php echo url_for('@category_new') ?>">Nuevo</a>
<table border="1" cellpadding="15">
    <tr>
        <td>Descripci&oacute;n</td>
        <td>Opciones</td>
    </tr>
<?php foreach($categories as $category){ ?>
    <tr>
        <td><?php echo $category->getDescription() ?></td>
        <td>
            <a href="<?php echo url_for('@category_edit?id='.$category->getId()) ?>">Editar</a>
            <a href="<?php echo url_for('@category_delete?id='.$category->getId()) ?>" onclick="return delete_confirm()">Eliminar</a>
        </td>
    </tr>
<?php } ?>
</table>